package com.bilibili.juc.base;



/**
 使用lambda的方式创建一个线程，名字为t1
 */
public class ThreadBaseDemo
{
    public static void main(String[] args) throws InterruptedException
    {
        Thread t1 = new Thread(() -> {

        },"t1");
        t1.start();
    }
}

// java = C++ ---》  (C++)-- = java